

package com.hazelcast.map.impl.operation;

import com.hazelcast.spi.impl.operationservice.Operation;

import java.util.function.Supplier;

public class RemoveInterceptorOperationSupplier implements Supplier<Operation> {

    private final String id;
    private final String name;

    public RemoveInterceptorOperationSupplier(String name, String id) {
        this.name = name;
        this.id = id;
    }

    @Override
    public Operation get() {
        return new RemoveInterceptorOperation(name, id);
    }
}
